#include "CommandBase.h"
#include "Commands/Scheduler.h"

CommandBase::CommandBase(const char *name) : Command(name) {
}

CommandBase::CommandBase() : Command() {
}

// Initialize a single static instance of all of your subsystems to NULL
OI* CommandBase::oi = NULL;
Turret* CommandBase::turret = NULL;
Chassis* CommandBase::chassis = NULL;
Launcher* CommandBase::launcher = NULL;
Roller* CommandBase::roller = NULL;
Lifter* CommandBase::lifter = NULL;
Irsensors* CommandBase::irsensors = NULL;

void CommandBase::init() {
    // Create a single static instance of all of your subsystems. The following
	// line should be repeated for each subsystem in the project.
	printf("????\n");
	oi = new OI();
	launcher = new Launcher();
	turret = new Turret();
	chassis = new Chassis();
	roller = new Roller();
	lifter = new Lifter();
	irsensors = new Irsensors();
}
